package polymorphsm1;

public class Teacher extends Man {
    String name = "老师";

    @Override
    public void listen() {
        System.out.println("老师在听歌");
    }

    public void teach()
    {
        System.out.println("老师教课");
    }
}
